package com.xthink.common.pojo.cards;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_card_package")
public class CardPackage {
    /*
    * 卡片所属套餐表Id
    * */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /*
    * 卡片id
    * */
    @TableField("card_id")
    private Integer cardId;

    /*
    * 套餐id
    * */
    @TableField("package_id")
    private Integer packageId;

    /*
     * 创建时间
     * */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /*
     * 更新时间
     * */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
